package com.example.b_308.medical;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.b_308.medical.controller.AccountController;
import com.example.b_308.medical.view.account.IAccountView;
import com.example.b_308.medical.view.base.BaseActivity;

/**
 * Created by B-308 on 2017/11/22.
 */
public class My_reservation_for_registrationActivity extends BaseActivity implements View.OnClickListener,IAccountView {

    ImageView iv_return;
    TextView tv_title,tv_setting;
    AccountController accountController;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_reservation_for_registration);
        initView();
        initDate();
        initListener();
    }

    private void initListener() {
        iv_return.setOnClickListener(this);
    }

    private void initDate() {
        accountController = new AccountController(this);
    }


    private void initView() {
        iv_return = findView(R.id.iv_return);
        tv_title = findView(R.id.tv_title);
        tv_title.setText("我的挂号预约");
        tv_setting = findView(R.id.tv_setting);
        tv_setting.setVisibility(View.GONE);
    }

    @Override
    public void getAccountSuccess() {

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.iv_return:
                tent2(Personal_centerActivity.class);
                break;
        }
    }
}
